package merisis.traitspace;

import merisis.util.BitUtil;

public class AmbiguityException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	long[] points;

	public AmbiguityException(long[] points) {
		
		this.points = points;
	}

	@Override
	public String getMessage() {

		StringBuilder sb = new StringBuilder();
		sb.append("Ambiguity: [");
		BitUtil.format(sb, points, ",");
		sb.append("]");

		return sb.toString();
	}

}
